package com.eshop.model;

public class Category {
    private int cate_id;
    private String cate_name;
    private String cate_pic;
    private int parentid;
    private String cate_desc;

    public Category() {
    }

    public Category(int cate_id, String cate_name, String cate_pic, int parentid, String cate_desc) {
        this.cate_id = cate_id;
        this.cate_name = cate_name;
        this.cate_pic = cate_pic;
        this.parentid = parentid;
        this.cate_desc = cate_desc;
    }

    public int getCate_id() {
        return cate_id;
    }

    public String getCate_name() {
        return cate_name;
    }

    public String getCate_pic() {
        return cate_pic;
    }

    public int getParentid() {
        return parentid;
    }

    public String getCate_desc() {
        return cate_desc;
    }

    public void setCate_id(int cate_id) {
        this.cate_id = cate_id;
    }

    public void setCate_name(String cate_name) {
        this.cate_name = cate_name;
    }

    public void setCate_pic(String cate_pic) {
        this.cate_pic = cate_pic;
    }

    public void setParentid(int parentid) {
        this.parentid = parentid;
    }

    public void setCate_desc(String cate_desc) {
        this.cate_desc = cate_desc;
    }

    @Override
    public String toString() {
        return "Category{" +
                "cate_id=" + cate_id +
                ", cate_name='" + cate_name + '\'' +
                ", cate_pic='" + cate_pic + '\'' +
                ", parentid=" + parentid +
                ", cate_desc='" + cate_desc + '\'' +
                '}';
    }
}
